<!-- 侧边栏 -->
<div class="layui-side">
    <div class="layui-side-scroll">
        <ul class="layui-nav layui-nav-tree arrow2" lay-filter="admin-side-nav" lay-shrink="_all">
            {{range $index, $item := .Context.Menu}}
                <li class="layui-nav-item">
                    <a lay-href="{{$item.Path}}"><i class="layui-icon {{$item.Icon}}"></i>&emsp;<cite>{{$item.Title}}</cite></a>
                    {{if $item.Children}}
                        <dl class="layui-nav-child">
                            {{range $c_index, $c_item := $item.Children}}
                            <dd>
                                <a lay-href="{{$c_item.Path}}">{{$c_item.Title}}</a>
                                {{if $c_item.Children}}
                                    <dl class="layui-nav-child">
                                        {{range $s_index, $s_item := $c_item.Children}}
                                            <dd><a lay-href="{{$s_item.Path}}">{{$s_item.Title}}</a></dd>
                                        {{end}}
                                    </dl>
                                {{end}}
                            </dd>
                            {{end}}
                        </dl>
                    {{end}}
                </li>
            {{end}}
        </ul>
    </div>
</div>